﻿using Cmp.Web.Common;
using Cmp.Web.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cmp.Web.IService
{
    public interface IInHospitalService
    {
        /// <summary>
        /// 根据患者信息及日期获取住院缴费信息
        /// </summary>
        /// <param name="InHospitalNumber"></param>
        /// <param name="PatientId"></param>
        /// <param name="PayTime"></param>
        /// <param name="exception"></param>
        /// <returns></returns>
        Task<List<InHospitalPayInfo>> GetHospitalPayInfoList(string InHospitalNumber, string PatientId, string PayTime, out ExceptionAll exception);
        /// <summary>
        /// 根据患者信息开单日期查询住院费用清单信息
        /// </summary>
        /// <param name="InHospitalNumber"></param>
        /// <param name="PatientId"></param>
        /// <param name="PayTime"></param>
        /// <param name="ItemType"></param>
        /// <param name="exception"></param>
        /// <returns></returns>
        Task<List<PayorInHospitalPayInfo>> GetHospitalPayInfoList(string InHospitalNumber, string PatientId, string PayTime, string ItemType, out ExceptionAll exception);
        /// <summary>
        /// 住院押金预缴
        /// </summary>
        /// <param name="inHospitalPay"></param>
        /// <param name="exception"></param>
        /// <returns></returns>
        Task<bool> InHospitalPayment(InHospitalPayInfo inHospitalPay, out ExceptionAll exception);
    }
}
